package com.itheima.reggie.entity.dto;

import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishFlavor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 菜品新增的Dto
 *
 * @Author Vsunks.v
 * @Date 2023/2/8 9:04
 * @Blog blog.sunxiaowei.net/996.mba
 * @Description: 菜品新增的Dto
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DishDto extends Dish {

    /**菜品口味列表*/
    private List<DishFlavor> flavors;

    /**菜品分类名称*/
    private String categoryName;
}
